import request from '@/utils/request'

export default {
  // 查询搜索问答
  getSearchResult(page, limit, keyword) {
    return request({
      url: `/taxation/indexfront/getSearchResult/${page}/${limit}/${keyword}`,
      method: 'get'
    })
  },
  // 查询热门问答
  getHotQuestion(page, limit, keyword) {
    return request({
      url: `/taxation/indexfront/getHotQuestion`,
      method: 'get'
    })
  },
  // 根据问答ID查询问答
  getQuestionInfo(questionId) {
    return request({
      url: `/taxation/indexfront/getQuestionInfo/${questionId}`,
      method: 'get'
    })
  }
  
}